package cn.iocoder.yudao.module.erp.controller.admin.deppurchase.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - ERP 科室采购申请单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DepPurchasePageReqVO extends PageParam {

    @Schema(description = "仓库编号", example = "31664")
    private Long warehouseId;

    @Schema(description = "部门id", example = "289")
    private String deptId;

    @Schema(description = "科室采购单编号", example = "4441")
    private String orderId;

    @Schema(description = "整合单编号", example = "5479")
    private String integrateId;

    @Schema(description = "备注", example = "你猜")
    private String remark;

    @Schema(description = "状态", example = "1")
    private Integer status;

    @Schema(description = "流程实例的编号", example = "347")
    private String processInstanceId;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "流程实例的编号集合", example = "347")
    private List<String> processInstanceIds;

}